import Layout from '@/layout/layout'
export default [
  {
    path: '/pharmacy',
    name: 'pharmacy',
    component: Layout,
    meta: {
      title: '药品管理',
      icon: 'excel',
      roles: ['admin', 'editor']
    },
    children: [
      {
        path: 'list',
        name: 'pharmacyList',
        component: () => import('https://gitee.com/banjilin/pet-health'),
        meta: { title: '药品列表', icon: 'list' }
      },
      {
        path: 'inventory',
        name: 'pharmacyList',
        component: () => import('https://gitee.com/banjilin/pet-health'),
        meta: { title: '药品入库 / 出库', icon: 'list' }
      }
    ]
  }
]
